Evil gear
Christmas is almost here
Viking gear
Gear Gifts and Apparel
Goth and Gore Gifts
Shop right now or else!
PHP Gallery
PHP Gallery is a free php image script.

here are some of the best and useful php scripts and snippets to help in your projects. Php displayed below. Use the search for specific script lookups. Click the category links to view scripts in Javascript and cgi. To add your own script click the link and add your useful script example.

host ban list array for host visitor scan list the 
hosts to deny access from put in your config file

Host scan ban block deny
<?php 
  $targetAddr 
= array (
  
"shawcable.net",
  
"xlhost.com",
  
"dotnetdotcom.org",
  
"army.mil",
  
"bezeqint.net",
  
"lightspeedsystems.com",
  
"navy.mil",
  
"softlayer.com",
  
"softlayer.net",
  
"altushost.net",
  
"verisign.com",
  
"bogtube.com",
  
"stealthnetworking.com",
  
"amazonaws.com",
  
"iblaw.us",
  
"hostupon.com",
  
"vrtservers.net",
  
"afrinic.net",
  
"theplanet.net",
  
"theplanet.com",
  
"verisign.net",
  
"archive.org",
  
"secureserver.net",
  
"emserv.ru",
  
"leaseweb.com",
  
"atlanticbb.net",
  
"ukrtel.net",
  
"thunderstone.com",
  
"internetserviceteam.com",
  
"sasknet.sk.ca",
  
"rogers.com",
  
"psychz.net",
  
"syntryx.com",
  
"uslec.net",
  
"integraonline.com",
  
"shopwiki.com",
  
"videotron.ca",
  
"lyse.net");
  
  
$ip $_SERVER['REMOTE_ADDR'];
$host = @gethostbyaddr($ip);
foreach (
$targetAddr as $key=>$value) {
if (
preg_match("/$value/i"$host)) {
 echo 
"Later";
   exit();
}
}
?>


Add your comment.













No comments yet

Search ScriptsnTips


Php JavaScripts CGI/Perl